package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.UserNameAuthorityQuery;
import com.tyqx.hashchainbean.vo.UserNameAuthorityQueryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserNameAuthorityQueryService {


    public Integer addUserNameAuthorityQuery(UserNameAuthorityQuery userNameAuthorityQuery);

    public Integer deleteUserNameAuthorityQuery(Integer id);

    public List<Integer> selectIdByUserNameAndGrantUserName(String userName, String grantUserName, String grantType);

    public List<UserNameAuthorityQueryVO> queryUserNameAuthorityQueryByUserName(String userName);
}
